package com.nsoft.server.register.beans;
import java.io.Serializable;
import java.math.BigDecimal;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

@Entity
@Table(name="billing_detail")
public class BillingDetail implements Serializable {
	@Id
	@Column(name="bid_num_id")
	private int bidNumId;

	@Column(name="bid_char_gcnumber")
	private String bidCharGcnumber;

	@Column(name="bid_num_weight")
	private BigDecimal bidNumWeight;

	@Column(name="bid_num_weightunload")
	private BigDecimal bidNumWeightunload;

	@Column(name="bid_cur_freightrate")
	private BigDecimal bidCurFreightrate;

	@Column(name="bid_char_general1")
	private String bidCharGeneral1;

	@ManyToOne
	@JoinColumn(name="bid_num_billId")
	private BillingHeader bidNumBillid;

	@ManyToOne
	@JoinColumn(name="bid_num_gcno")
	private GcHeader bidNumGcno;

	private static final long serialVersionUID = 1L;

	public BillingDetail() {
		super();
	}

	public int getBidNumId() {
		return this.bidNumId;
	}

	public void setBidNumId(int bidNumId) {
		this.bidNumId = bidNumId;
	}

	public String getBidCharGcnumber() {
		return this.bidCharGcnumber;
	}

	public void setBidCharGcnumber(String bidCharGcnumber) {
		this.bidCharGcnumber = bidCharGcnumber;
	}

	public BigDecimal getBidNumWeight() {
		return this.bidNumWeight;
	}

	public void setBidNumWeight(BigDecimal bidNumWeight) {
		this.bidNumWeight = bidNumWeight;
	}

	public BigDecimal getBidNumWeightunload() {
		return this.bidNumWeightunload;
	}

	public void setBidNumWeightunload(BigDecimal bidNumWeightunload) {
		this.bidNumWeightunload = bidNumWeightunload;
	}

	public BigDecimal getBidCurFreightrate() {
		return this.bidCurFreightrate;
	}

	public void setBidCurFreightrate(BigDecimal bidCurFreightrate) {
		this.bidCurFreightrate = bidCurFreightrate;
	}

	public String getBidCharGeneral1() {
		return this.bidCharGeneral1;
	}

	public void setBidCharGeneral1(String bidCharGeneral1) {
		this.bidCharGeneral1 = bidCharGeneral1;
	}

	public BillingHeader getBidNumBillid() {
		return this.bidNumBillid;
	}

	public void setBidNumBillid(BillingHeader bidNumBillid) {
		this.bidNumBillid = bidNumBillid;
	}

	public GcHeader getBidNumGcno() {
		return this.bidNumGcno;
	}

	public void setBidNumGcno(GcHeader bidNumGcno) {
		this.bidNumGcno = bidNumGcno;
	}

}
